package com.cake.liulanxiangzhu.pojo.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName admin_cakesku
 */
@TableName(value ="admin_cakesku")
@Data
public class AdminCakeskuDTO implements Serializable {
    /**
     * 甜品型号ID
     */
    @TableId(type = IdType.AUTO)
    private Integer skuId;

    /**
     * 甜品ID
     */
    @TableField(updateStrategy = FieldStrategy.NOT_NULL)
    private Integer cakeId;

    /**
     * 相册ID
     */
    @TableField(updateStrategy = FieldStrategy.NOT_NULL)
    private Integer albumId;

    /**
     * 型号名称
     */
    @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
    private String skuName;

    /**
     * 型号值
     */
    @TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
    private String skuValue;

    /**
     * 单价
     */
    @TableField(updateStrategy = FieldStrategy.NOT_NULL)
    private BigDecimal cakePrice;

    /**
     * 库存
     */
    @TableField(updateStrategy = FieldStrategy.NOT_NULL)
    private Integer cakeStock;

    /**
     * 销量
     */
    @TableField(updateStrategy = FieldStrategy.NOT_NULL)
    private Integer sales;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}